//
//  E7AnimationSprite.h
//  EndlessBattle
//
//  Created by cc on 12-4-30.
//  Copyright (c) 2012年 PalmGame. All rights reserved.
//

#ifndef EndlessBattle_E7AnimationSprite_h
#define EndlessBattle_E7AnimationSprite_h

#include "E7AnimationRoot.h"

class CE7AnimationSprite : public CE7AnimationRoot
{
public:
    CE7AnimationSprite() ;
    ~CE7AnimationSprite() ;

public:
    void Init(CCNode* pItem, eAnimationIDs index) ;

public:
    void InitWithTransform(int startindex, int framecount, CCNode* pItem, CCPoint start_pos, CCPoint end_pos) ;
    void InitWithRotation(int startindex, int framecount, CCNode* pItem, float start_angle, float end_angle) ;
    void InitWithScale(int startindex, int framecount, CCNode* pItem, float start_scale, float end_scale) ;
    void InitWithAlpha(int startindex, int framecount, CCNode* pItem, int start_alpha, int end_alpha) ;
} ;

#endif
